<?php
/**
 * Created by PhpStorm.
 * User: mars
 * Date: 2019/2/23
 * Time: 4:38 PM
 */

namespace api\controllers;

use daixianceng\smser\YunpianSmser;
use yii\rest\Controller;

class SmsController extends Controller
{
    public function actionTest()
    {
        return \Yii::$app->smser->send('17864214160', '您发布的12312有新的报名');
//        var_dump(YunpianSmser::className());
    }


}